<template>
  <div>
    <HEADER></HEADER>
    <router-view></router-view>
    <FOOTER v-show="!$route.meta.isHiddenFooter"></FOOTER>
  </div>
</template>

<script>
import HEADER from "./components/Header";
import FOOTER from "./components/Footer";
export default {
  name: "App",
  components: {
    HEADER,
    FOOTER,
  },
  mounted() {
    this.$store.dispatch("home/getCategoryList");
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
